import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/HomeView.vue'
import vertcal from '../views/vertcal.vue'
import pie from '../views/pie.vue'
import huan from '../views/huan.vue'
import map from '../views/map.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/crosswise',
    component: HomeView
  },
  {
    path: '/vertcal',
    component: vertcal
  },
  {
    path: '/pie',
    component: pie
  },
  {
    path: '/huan',
    component: huan
  },
  {
    path: '/map',
    component: map
  }
]

const router = new VueRouter({
  routes
})

export default router
